<?php  
header('Access-Control-Allow-Origin:*');
header('Content-type:application/json;charset=utf8');  
header('Access-Control-Allow-Methods:*');  
header('Access-Control-Allow-Headers:x-requested-with,content-type');